projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
356dbc4
)
doc/manifest: fix "default-features" example
author
Alex Burka
<durka42+github@gmail.com>
Mon, 23 Nov 2015 20:30:10 +0000
(15:30 -0500)
committer
Alex Burka
<durka42+github@gmail.com>
Mon, 23 Nov 2015 20:30:10 +0000
(15:30 -0500)
src/doc/manifest.md
patch
|
blob
|
history
diff --git
a/src/doc/manifest.md
b/src/doc/manifest.md
index 3cba30f114b7f09d787250f028fd014870904f60..b5c05485a99a98253c370fa8a8f1ed801766dc91 100644
(file)
--- a/
src/doc/manifest.md
+++ b/
src/doc/manifest.md
@@
-304,11
+304,11
@@
To use the package `awesome`:
```toml
[dependencies]
-awesome = { version = "1.3.5",
features = ["secure-password", "civet"] }
-
-# do not include the default features, and optionally
-# cherry-pick individual features
-default-features = false
+awesome = { version = "1.3.5",
+ default-features = false, # do not include the default features, and optionally
+ # cherry-pick individual features
+ features = ["secure-password", "civet"]
+ }
```
## Rules